package com.example.qt.ptplatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("comment_favorites")
public class CommentFavorite {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer userId;      // 用户ID
    private Integer commentId;   // 评论ID
    private LocalDateTime createTime; // 收藏时间
}